home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 30 / PC Gamer IT CD 30 1-2.iso / MOTS / GAMEDATA / RESOURCE / JKMRES.GOO / cog_ctf_itemkeyred.cog < prev    next >
Text File  |  1998-02-25  |  644b  |  39 lines

  1. # Jedi Knight Cog Script
  2. #
  3. # CTF_ITEMKEYRED.COG
  4. #
  5. # Describes the CTF Red key when the player
  6. # activates the inventory item.
  7. #
  8. # [YB]
  9. #
  10. # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
  11.  
  12. symbols
  13.  
  14. message     activated
  15.  
  16. sound       keysound=BactaUse01.WAV
  17. int         player                           local
  18.  
  19. end
  20.  
  21. # ========================================================================================
  22.  
  23. code
  24.  
  25. activated:
  26.    player = GetSourceRef();
  27.  
  28.    // Print("This Key Opens The CTF Red Doors !");
  29.    jkPrintUNIString(-3, 1074);
  30.    PlaySoundLocal(keysound, 1.0, 0.0, 0 );
  31.  
  32.    Return;
  33.  
  34. end
  35.  
  36.  
  37.  
  38.  
  39.